; """
 ;    客户端常量
 ;    """
class ClientConstant{
    ; 客户端的窗口的标题
    static CLIENT_TITLE_NAME := "东方财富终端"
    ; x轴的坐标的偏移量
    static X_OFFSET := 100

    ; 默认的屏幕查询时间
    static SCREEN_QUERY_TIME := 30
    ; python的解释器路径
    static PYTHON_EXE := "D:\Software\anaconda3\envs\env-wealth-center-auto-3.6\python.exe"

    static PYTHON_PROJECT_PATH := "D:\java_project\wealth-center-auto-buy"
    ; python的 持仓脚本
    static PYTHON_SCRIPT_PATH := ClientConstant.PYTHON_PROJECT_PATH . "\startScreenShot.py"

    ; 持仓数量
    static POSITION_NUMBER_NAME := "持仓数量.png"

    ; 获取仓位数的路径
    static getPositionNumberPath(position){
        return ClientConstant.PYTHON_PROJECT_PATH . "\" . position . ClientConstant.POSITION_NUMBER_NAME
    }
}

